package com.xdf.data_transmitter.service;

import com.xdf.data_transmitter.dao.erp.GCjflowbilldetailprocessMapper;
import com.xdf.data_transmitter.model.ClientPushlist;
import com.xdf.data_transmitter.model.ClientPushlistDetail;
import com.xdf.data_transmitter.model.GCjflowbilldetailprocess;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GCjflowbilldetailprocessServiceImpl implements GCjflowbilldetailprocessService {

    @Autowired
    private GCjflowbilldetailprocessMapper dao;

    @Override
    public int deleteByPrimaryKey(Integer b_ItemID) {
        return dao.deleteByPrimaryKey(b_ItemID);
    }

    @Override
    public int insert(GCjflowbilldetailprocess record) {
        return dao.insert(record);
    }

    @Override
    public int insertSelective(GCjflowbilldetailprocess record) {
        return dao.insertSelective(record);
    }

    @Override
    public GCjflowbilldetailprocess selectByPrimaryKey(Integer b_ItemID) {
        return dao.selectByPrimaryKey(b_ItemID);
    }

    @Override
    public int updateByPrimaryKeySelective(GCjflowbilldetailprocess record) {
        return dao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(GCjflowbilldetailprocess record) {
        return dao.updateByPrimaryKey(record);
    }

    @Override
    public List<GCjflowbilldetailprocess> selectAfter(Integer b_ItemID) {
        return dao.selectAfter(b_ItemID);
    }

    @Override
    public List<ClientPushlist> getClientPushlist(Integer process_iid) {
        return dao.getClientPushlist(process_iid);
    }

    @Override
    public List<ClientPushlistDetail> getClientPushlistDetail(Integer process_iid) {
        return dao.getClientPushlistDetail(process_iid);
    }

    @Override
    public int setUpload(int judgeUpload, int b_ItemID) {
        return dao.setUpload(judgeUpload,b_ItemID);
    }

    @Override
    public List<GCjflowbilldetailprocess> selectByVatnum(String vatNum) {
        return dao.selectByVatnum(vatNum);
    }
}
